package com.peiqi.aiproject.service;

import com.peiqi.aiproject.dao.IdeaToolDataMapper;
import com.peiqi.aiproject.domain.IdeaToolData;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author yulian
 */
@Service
public class IdeaToolDataService {
    @Resource
    IdeaToolDataMapper ideaToolDataMapper;

    public List<IdeaToolData> findAll() {
        return ideaToolDataMapper.selectList(null);
    }

    public IdeaToolData findById(int id) {
        return ideaToolDataMapper.selectById(id);
    }
}
